package com.sacodemel.financeiro.persistencia.dao;

import java.util.List;

public interface DAO<T> {

	public abstract void salvar(T entity) throws Exception;

	public abstract void excluir(T entity) throws Exception;

	public abstract T detalhar(Long id) throws Exception ;

	public abstract List<T> listarTodos() throws Exception ;
        
        public abstract List<T> listarAtivos() throws Exception ;

}